package com.gxgeek.userserver.repostory;

import com.gxgeek.userserver.dataobject.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author gaoxing
 * @create 2018-04-02 上午11:54
 */
public interface UserInfoRepostory extends JpaRepository<UserInfo,String>{

    /**
     * 通过openid 查出
     * @param openId
     * @return
     */
    UserInfo findByOpenid(String openId);
}
